<!-- 第8章/cms4py_first_generation/app/static/sio_echo.html -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="libs/socket.io.js"></script>
</head>
<body>
<script>
    (function(){
        let socket = io();
        socket.on("echo",e=>console.log(e))
    })();
</script>
</body>
</html>